﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FundingDetail.ascx.cs"
    Inherits="Pantry.Web.Users.Controls.FundingDetail" %>
<%@ Register TagPrefix="UC1" TagName="ListContact" Src="ListContact.ascx" %>
<%@ Register TagPrefix="UC2" TagName="ListPostcode" Src="ListPostcode.ascx" %>
<%@ Register TagPrefix="UC3" TagName="ListBusiness" Src="ListTypeOfBusiness.ascx" %>
<asp:UpdatePanel runat="server" ID="UpdateFundingDetail">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="CheckBoxFundingContonuationNeeded" EventName="CheckedChanged" />
        <asp:AsyncPostBackTrigger ControlID="CheckBoxFundingDraisingComplete" EventName="CheckedChanged" />
    </Triggers>
    <ContentTemplate>
        <div id="box1">
            <div>
                <b>General</b>
            </div>
            <div class="left_column">
                <div class="grid_line">
                    <div class="block_label">
                        Funding Source
                    </div>
                    <div class="block_input">
                        <asp:DropDownList runat="server" ID="DropDownListFundingSource" CssClass="selector" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding Contact Detail <span class="must">*</span>
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundingContactDetail" ReadOnly="True" CssClass="manager_text_length" />
                        <asp:HiddenField runat="server" ID="HiddenFieldFundingContactDetail" />
                        <asp:Button runat="server" ID="ButtonLookup" Text="Lookup" CssClass="buttonlookup lookupcontact" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding Amount <span class="must">*</span>
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundingAmount" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding Start
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundingStart" CssClass="pick_date" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding End
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundingEnd" CssClass="pick_date" />
                    </div>
                </div>
            </div>
            <div class="right_column">
                <div class="grid_line">
                    <div class="block_label">
                        Funding Needs
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundingNeeds" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding Continuation Needed
                    </div>
                    <div class="block_input">
                        <asp:CheckBox runat="server" ID="CheckBoxFundingContonuationNeeded" OnCheckedChanged="CheckBoxFundingContonuationNeededChanged"
                            AutoPostBack="True" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding Continuation Amount
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundingContinuationAmount" Enabled="False" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Funding Continuation Details
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" TextMode="MultiLine" ID="TextBoxFundingContinuationDetails" Enabled="False" />
                    </div>
                </div>
            </div>
        </div>
        <div style="clear: both"></div>
        <div id="box2">
            <div>
                <b>Fundraising For Service Project</b>
            </div>
            <div class="left_column">
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising For Text
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingForText" TextMode="MultiLine" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Why
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingWhy" TextMode="MultiLine" />
                    </div>
                </div>
            </div>
            <div class="right_column">
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Needs
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingNeed" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Required By
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingRequiredBy" CssClass="pick_date" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Complete
                    </div>
                    <div class="block_input">
                        <asp:CheckBox runat="server" ID="CheckBoxFundingDraisingComplete" OnCheckedChanged="CheckBoxFundingDraisingCompleteChanged"
                            AutoPostBack="True" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Completed Date
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingCompledtedDate" CssClass="pick_date"
                            Enabled="False" />
                    </div>
                </div>
            </div>
        </div>
        <div style="clear: both"></div>
        <div id="box3">
            <div>
                <b>Fundraising Donor</b>
            </div>
            <div class="left_column">
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Donor Anonymous
                    </div>
                    <div class="block_input">
                        <asp:CheckBox runat="server" ID="CheckBoxFundrasingDonor" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Fundrasing Donor Amount
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingDonor" />
                    </div>
                </div>
            </div>
            <div class="right_column">
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Donation Date
                    </div>
                    <div class="block_input">
                        <asp:TextBox runat="server" ID="TextBoxFundraisingDonation" CssClass="pick_date" />
                    </div>
                </div>
                <div class="grid_line">
                    <div class="block_label">
                        Fundraising Donation Incremential
                    </div>
                    <div class="block_input">
                        <asp:CheckBox runat="server" ID="CheckBoxFundraisingDonationIncremential" />
                    </div>
                </div>
            </div>
        </div>
        <div style="clear: both"></div>
    </ContentTemplate>
</asp:UpdatePanel>
<div class="dialog DialogListContact" style="display: none" title="List Contact">
    <UC1:ListContact runat="server" ID="ListContact" />
</div>
